package cn.hfjava.kz.service;

import cn.hfjava.kz.entity.po.Role;
import cn.hfjava.kz.entity.po.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.sound.sampled.BooleanControl;
import java.util.List;

/**
* @author lds
* @description 针对表【roles(角色表)】的数据库操作Service
* @createDate 2024-07-16 11:46:02
*/
public interface RoleService extends IService<Role> {
    List<User> isExistsByRoleId(Integer id);

    /**
     * 根据角色ID获得角色信息
     * @param roleId 角色Id
     * @return
     */
    Role findRoleById(Integer roleId);


    List<Role> findRoleList();
}
